<?php
/**
 * Created by PhpStorm.
 * User: qishengqiang
 * Date: 2022-09-26
 * Time: 04:28
 */

namespace app\models;


class WxMessageRecords extends ModelBase
{
    protected $pk = 'recordId';

    public function template()
    {
        return $this->hasOne(WxMessageTemplates::class, 'id', 'templateId');
    }
}